package com.jing.cloud.service.chat.bean;

import com.jing.cloud.service.bean.BaseBean;
import com.jing.cloud.service.util.db.annotation.Column;
import com.jing.cloud.service.util.db.annotation.Ignore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * Created by 29017 on 2017/9/9.
 */
@Data()
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserMessage extends BaseBean {
    private Long messageId;
    @Column(index = true)
    private Long userId;
    @Column(index = true)
    private String room; //会话房间，scene 为群时 room=groupId，scene 为单聊时 userId+userId 小的在前
    private Integer scene; // 会话场景

    private Integer push1;
    private Integer push2;
    private Integer push3;
    private Integer push4;
    private Integer push5;
    private Integer push6;

    @Ignore
    private Message message;
}
